package com.jiang.mvc.controller;


import com.jiang.mvc.service.UserService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;



@RestController
public class UserController {
    @RequestMapping("/login")
    public String userlogin(String zhanghao,String mima){
        UserService userService = new UserService ( );
        String message = userService.loginService (zhanghao, mima);

        return message;
    }
}
